﻿using SqlSugar;
using System;

namespace S.EarTag.Domain.Model
{
    /// <summary>
    /// 耳标关系表
    /// </summary>
    [SugarTable("EarTagOrMarkModel")]
    public class EarTagOrMarkModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int EarTagOrMarkId { get; set; }

        /// <summary>
        /// 耳标实体Id
        /// </summary>
        [SugarColumn(ColumnName = "EarTagId")]
        public int EarTagId { get; set; }

        /// <summary>
        /// 电子耳标Id
        /// </summary>
        [SugarColumn(ColumnName = "MarkId")]
        public int MarkId { get; set; }
    }
}
